//
//  LCUPInfoNetworking.h
//  NetDemo
//
//  Created by admin on 2019/4/19.
//  Copyright © 2019年 admin. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface LCUPInfoNetworking : NSObject

// info
@property (nonatomic,strong) NSMutableDictionary *parameters;

/**
 定义单例模式类    INTERFACE_SINGLETON(类名)
 实现单例模式类    IMPLEMENTATION_SINGLETON(类名)
 */
#undef    INTERFACE_SINGLETON
#define INTERFACE_SINGLETON( __class ) \
- (__class *)sharedInstance; \
+ (__class *)sharedInstance;

#undef    IMPLEMENTATION_SINGLETON
#define IMPLEMENTATION_SINGLETON( __class ) \
- (__class *)sharedInstance \
{ \
return [__class sharedInstance]; \
} \
+ (__class *)sharedInstance \
{ \
static dispatch_once_t once; \
static __class * __singleton__; \
dispatch_once( &once, ^{ __singleton__ = [[[self class] alloc] init]; } ); \
return __singleton__; \
}
INTERFACE_SINGLETON(LCUPInfoNetworking)

+ (void)open;
+ (void)upLoginWithTel:(NSString *)tel uid:(NSString *)uid;

@end

